<div  class="animated fadeInRight ecommerce">
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox ">
                <div class="ibox-title">
                    <h5>查询条件</h5>
                    <div class="ibox-tools" style="top:10px;">
                        <!-- <button type="button" class="btn btn-link btn-sm" style="margin-right:10px;"
                                v-on:click="_moreCondition()">{{payFeeAuditManageInfo.moreCondition == true?'隐藏':'更多'}}
                        </button> -->
                    </div>
                </div>
                <div class="ibox-content">
                    <div class="row">
                        <div class="col-sm-4">
                            <select class="custom-select" v-model="payFeeAuditManageInfo.conditions.payObjType">
                                <option  value="" selected>请选择付费对象</option>
                                <option v-for="(item,index) in payFeeAuditManageInfo.payObjTypes" :key="index" v-bind:value="item.statusCd">{{item.name}}</option>
                            </select>
                        </div>
                        <div class="col-sm-4">
                            <select class="custom-select" v-model="payFeeAuditManageInfo.conditions.state" placeholder="请选择状态">
                                <option  value="" selected>请选择状态</option>
                                <option  value="1010">待审核</option>
                                <option  value="2020">审核通过</option>
                                <option  value="3030">审核未通过</option>
                            </select>
                        </div>
                        <div class="col-sm-3">
                            <div class="form-group">
                                <input  type="text" placeholder="请填写房屋 楼栋-单元-室" v-model="payFeeAuditManageInfo.conditions.payerObjId"  class="form-control">
                            </div>
                        </div>
                        <div class="col-sm-1">
                            <button type="button" class="btn btn-primary btn-sm" v-on:click="_queryPayFeeMethod()">
                                <i class="fa fa-search"></i>
                            </button>
                        </div>
                    </div>
                  
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox">
                <div class="ibox-title">
                    <h5>缴费审核</h5>
                    <div class="ibox-tools" style="top:10px;">
                        <!-- <button type="button" class="btn btn-primary btn-sm" v-on:click="_exportExcel()">
                            <i class="fa fa-plus"></i>
                            导出
                        </button> -->
                    </div>
                </div>
                <div class="ibox-content">

                    <table class="footable table table-stripped toggle-arrow-tiny"
                           data-page-size="15"
                    >
                        <thead>
                        <tr>
                            <th class="text-center">房屋</th>
                            <th class="text-center">费用项目</th>
                            <th class="text-center">付费周期</th>
                            <th class="text-center">缴费起始时间</th>
                            <th class="text-center">缴费结束时间</th>
                            <th class="text-center">应付金额</th>
                            <td class="text-center">实付金额</td>
                            <td class="text-center">操作员工</td>
                            <td class="text-center">缴费时间</td>
                            <td class="text-center">审核状态</td>
                            <td class="text-center">审核说明</td>
                            <td class="text-center">缴费备注</td>
                            <td class="text-right">详情</td>
                        </tr>
                        </thead>
                        <tbody>
                        <tr v-for="payFee in payFeeAuditManageInfo.payFees">
                            <td class="text-center">{{payFee.payerObjName}}</td>
                            <td class="text-center">{{payFee.feeName}}</td>
                            <td class="text-center">{{payFee.cycles}}个月</td>
                            <td class="text-center">{{payFee.startTime}}</td>
                            <td class="text-center">{{payFee.endTime}}</td>
                            <td class="text-center">{{payFee.receivableAmount}}</td>
                            <td class="text-center">{{payFee.receivedAmount}}</td>
                            <td class="text-center">{{payFee.userName}}</td>
                            <td class="text-center">{{payFee.createTime}}</td>
                            <td class="text-center">
                                <span class="badge badge-success" v-if="payFee.state == '2020'">{{_getState(payFee.state)}}</span>
                                <span class="badge badge-danger" v-else-if="payFee.state == '3030'">{{_getState(payFee.state)}}</span>
                                <span class="badge badge-info" v-else>{{_getState(payFee.state)}}</span>
                            </td>
                            <td class="text-center">{{payFee.message}}</td>
                            <td class="text-center">{{payFee.remark}}</td>
                            <td class="text-right">    
                                <button class="btn btn-link btn-xs"
                                    v-on:click="_detailFee(payFee)">详情
                                </button>
                                <button class="btn btn-link btn-xs" v-if="payFee.state != '2020' && payFee.state != '3030' "
                                    v-on:click="_openAuditFeeModal(payFee)">审核费用
                                </button>

                                <button class="btn btn-link btn-xs" v-if=" payFee.state == '3030' "
                                    v-on:click="_openRefundModel(payFee)">退费
                                </button>
                            </td>
                        </tr>
                        </tbody>
                        <tfoot>
                        <tr>
                            <td colspan="7">
                                <ul class="pagination float-right"></ul>
                            </td>
                        </tr>
                        </tfoot>
                    </table>
                    <!-- 分页 -->
                    <vc:create path="frame/pagination"></vc:create>
                </div>
            </div>
        </div>
    </div>


    <vc:create path="common/audit" callBackListener="payFeeAuditManage" callBackFunction="audtiNotify"></vc:create>

    <vc:create path="property/returnPayFee"></vc:create>
</div>
